<template>
  <div class="updatepwd">
    <van-nav-bar
      title="修改密码"
      left-arrow
      @click-left="onClickLeft"
      :fixed="true"
      :placeholder="true"
    />
    <van-field v-model="password" type="password" label="密码" placeholder="请输入旧密码" />
  </div>
</template>
<script>
export default {
    data(){
        return{
            password:''
        }
    },
  methods: {
    onClickLeft() {
      this.$router.go(-1);
    },
  },
};
</script>
<style lang="scss">
.updatepwd {
  .van-icon-arrow-left::before {
    color: black;
  }
}
</style>